package com.dha.entities;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

@Entity
@Table(name = "sinhVien")
public class SinhVienEntity  {
	@Id
	private String maSinhVien;
	private String tenSinhVien;
	private String maLopSinhHoat;
	@Temporal(TemporalType.DATE)
	private Date ngaySinh;
	private String noiSinh;
	private String diaChi;
	private String soCMND;
	private String taiKhoanNganHang;
	private String matKhau;
	private String email;
	private String soDienThoai;
	private String mobile;

	public SinhVienEntity(String maSinhVien, String tenSinhVien,
			String maLopSinhHoat, Date ngaySinh, String noiSinh, String diaChi,
			String soCMND, String taiKhoanNganHang, String matKhau,
			String email, String soDienThoai, String mobile) {
		super();
		this.maSinhVien = maSinhVien;
		this.tenSinhVien = tenSinhVien;
		this.maLopSinhHoat = maLopSinhHoat;
		this.ngaySinh = ngaySinh;
		this.noiSinh = noiSinh;
		this.diaChi = diaChi;
		this.soCMND = soCMND;
		this.taiKhoanNganHang = taiKhoanNganHang;
		this.matKhau = matKhau;
		this.email = email;
		this.soDienThoai = soDienThoai;
		this.mobile = mobile;
	}

	@Column(name = "ngaySinh")
	public Date getNgaySinh() {
		return ngaySinh;
	}

	public void setNgaySinh(Date ngaySinh) {
		this.ngaySinh = ngaySinh;
	}

	@Column(name = "noiSinh")
	public String getNoiSinh() {
		return noiSinh;
	}

	public void setNoiSinh(String noiSinh) {
		this.noiSinh = noiSinh;
	}

	@Column(name = "soCMND")
	public String getSoCMND() {
		return soCMND;
	}

	public void setSoCMND(String soCMND) {
		this.soCMND = soCMND;
	}

	@Column(name = "mobile")
	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public SinhVienEntity() {
		super();
	}

	@Column(name = "maSinhVien")
	public String getMaSinhVien() {
		return maSinhVien;
	}

	public void setMaSinhVien(String maSinhVien) {
		this.maSinhVien = maSinhVien;
	}

	@Column(name = "tenSinhVien")
	public String getTenSinhVien() {
		return tenSinhVien;
	}

	public void setTenSinhVien(String tenSinhVien) {
		this.tenSinhVien = tenSinhVien;
	}

	@Column(name = "maLopSinhHoat")
	public String getMaLopSinhHoat() {
		return maLopSinhHoat;
	}

	public void setMaLopSinhHoat(String maLopSinhHoat) {
		this.maLopSinhHoat = maLopSinhHoat;
	}

	@Column(name = "diaChi")
	public String getDiaChi() {
		return diaChi;
	}

	public void setDiaChi(String diaChi) {
		this.diaChi = diaChi;
	}

	@Column(name = "taiKhoanNganHang")
	public String getTaiKhoanNganHang() {
		return taiKhoanNganHang;
	}

	public void setTaiKhoanNganHang(String taiKhoanNganHang) {
		this.taiKhoanNganHang = taiKhoanNganHang;
	}

	@Column(name = "matKhau")
	public String getMatKhau() {
		return matKhau;
	}

	public void setMatKhau(String matKhau) {
		this.matKhau = matKhau;
	}

	@Column(name = "email")
	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	@Column(name = "soDienThoai")
	public String getSoDienThoai() {
		return soDienThoai;
	}

	public void setSoDienThoai(String soDienThoai) {
		this.soDienThoai = soDienThoai;
	}

}
